package com.ticket.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ticket.common.annotation.Excel;
import com.ticket.common.core.domain.BaseEntity;

/**
 * 积分规则对象 t_yanchu_points_rule
 * 
 * @author ruoyi
 * @date 2024-03-18
 */
public class TYanchuPointsRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** ①注册新用户、②演出购票、③演出评价、④实名认证、⑤充值、⑥完善个人信息、⑦演出分享、⑧添加常用观演人 */
    @Excel(name = "①注册新用户、②演出购票、③演出评价、④实名认证、⑤充值、⑥完善个人信息、⑦演出分享、⑧添加常用观演人")
    private Integer ruleType;

    /** 说明 */
    @Excel(name = "说明")
    private String ruleIntro;

    /** 积分类型1行为积分2消费积分 */
    @Excel(name = "积分类型1行为积分2消费积分")
    private Integer pointsType;

    /** 状态1开启2关闭 */
    @Excel(name = "状态1开启2关闭")
    private Integer status;

    /** 单位type为2的时候使用 */
    @Excel(name = "单位type为2的时候使用")
    private BigDecimal pointsUnint;

    /** 奖励的积分数量 */
    @Excel(name = "奖励的积分数量")
    private BigDecimal pointsNum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRuleType(Integer ruleType)
    {
        this.ruleType = ruleType;
    }

    public Integer getRuleType()
    {
        return ruleType;
    }
    public void setRuleIntro(String ruleIntro) 
    {
        this.ruleIntro = ruleIntro;
    }

    public String getRuleIntro() 
    {
        return ruleIntro;
    }
    public void setPointsType(Integer pointsType)
    {
        this.pointsType = pointsType;
    }

    public Integer getPointsType()
    {
        return pointsType;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setPointsUnint(BigDecimal pointsUnint) 
    {
        this.pointsUnint = pointsUnint;
    }

    public BigDecimal getPointsUnint() 
    {
        return pointsUnint;
    }
    public void setPointsNum(BigDecimal pointsNum) 
    {
        this.pointsNum = pointsNum;
    }

    public BigDecimal getPointsNum() 
    {
        return pointsNum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("ruleType", getRuleType())
            .append("ruleIntro", getRuleIntro())
            .append("pointsType", getPointsType())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("pointsUnint", getPointsUnint())
            .append("pointsNum", getPointsNum())
            .toString();
    }
}
